﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DuLieu
{
    public class QuanDTO : IComparable
    {
        private int _maQuan;

        public int MaQuan
        {
            get { return _maQuan; }
            set { _maQuan = value; }
        }
        private string _tenQuan;

        public string TenQuan
        {
            get { return _tenQuan; }
            set { _tenQuan = value; }
        }

        public int CompareTo(object obj)
        {
            QuanDTO otherQuan = (QuanDTO)obj;
            return this._tenQuan.CompareTo(otherQuan._tenQuan);
        }
    }
}
